package com.qk.common.anno;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.concurrent.TimeUnit;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Cachedable {
    String redisKey() default "";
    String redispreKey() default "";
    long expireTime() default 0;
    TimeUnit expireTimeUnit() default TimeUnit.MINUTES;
    String value() default "";
}
